#include<stdio.h>
int main()
{
	int num = 0;
	for (num = 100;num <= 200;num++)
	{
		int i = 0;
		int flag = 1;
		for (i = 2;i < num - 1;i++)
		{
			if (num % i == 0)
				flag = 0;
			break;
		}
		if (flag = 1)
			printf("%d ", i);
	}
	return 0;
}